﻿namespace Calculator
{
    public struct MathExpressionParams
    {
        private string expressionParam;
        private ISymbolHandler symbolHandlerParam;
        private IOperatorHandler operatorHandlerParam;

        public MathExpressionParams(string expressionParam, ISymbolHandler symbolHandlerParam, IOperatorHandler operatorHandlerParam)
        {
            this.expressionParam = expressionParam;
            this.symbolHandlerParam = symbolHandlerParam;
            this.operatorHandlerParam = operatorHandlerParam;
        }

        public string ExpressionParam
        {
            get { return expressionParam; }
        }

        public ISymbolHandler SymbolHandlerParam
        {
            get { return symbolHandlerParam; }
        }

        public IOperatorHandler OperatorHandlerParam
        {
            get { return operatorHandlerParam; }
        }
    }
}